﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class MobStora:IReadWrite
    {
        private string brand;

        public string Brand { get => brand; set => brand = value; }

        public MobStora(string brand) 
        {
            this.brand = brand;
        }

        public void read()
        {
            Console.WriteLine("我是{0}品牌硬盘，我现在读取",this.Brand);
        }

        public void write()
        {
            Console.WriteLine("我是{0}品牌硬盘，我现在输出", this.Brand);
        }
    }
}
